package com.ximu.test.spring;

public class Man implements Person {

	private Compute pc;
	
	@Override
	public void name() {
		System.out.println("name:man");
	}

	@Override
	public void sex() {
		System.out.println("sex:man");
	}
	
	public void usePc(){
		pc.name();
	}
	
	public void setPc(Compute pc){
		this.pc = pc;
	}

}
